<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>menu</title>
    <th:block th:insert="common/common::head"></th:block>
</head>
<body class="pear-container">
<form class="layui-form" id="curdForm" lay-filter="curdForm"
      style="margin-left: 5%;width: 90%;margin-top: 40px">
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span style="color: red">*</span> 用户账号：
        </label>
        <div class="layui-input-block">
            <input type="text" name="userName" placeholder="请输入用户账号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span style="color: red">*</span> 权限角色：
        </label>
        <div class="layui-input-block">
            <div id="roleSelect" class="xm-select-demo"></div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span style="color: red">*</span>用户昵称：
        </label>
        <div class="layui-input-block">
            <input type="text" name="nickName" placeholder="请输入用户昵称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">邮箱： </label>
        <div class="layui-input-block">
            <input type="text" name="email" placeholder="请输入用户邮箱" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">管理员账号： </label>
        <div class="layui-input-block">
            <input type="hidden" name="admin" value="1">
            <input type="checkbox" id="admin" lay-filter="adminEnable" lay-skin="switch" lay-text="是|否" checked>
        </div>
    </div>
    <p style="text-align: center;font-size: 20px;color: red" id="ts">默认密码：labmem123123</p>
</form>
</body>
<script th:inline="javascript">
    var curd = [[${curd}]];
</script>
<script th:replace="common/common::common"></script>
<script th:src="@{/static/common/js/layui-tool/xm-select.js}"></script>
<script th:src="@{/static/common/js/sys/user/curd.js}"></script>

</html>